package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PropertySwitchDTO {

    @ApiModelProperty(value = "方式")
    @NotNull(message = "缺少参数way")
    private String way;

    @ApiModelProperty(value = "属性值", notes = "1开启0关闭")
    @NotNull(message = "缺少参数action")
    private Integer action;
}
